This paper achieves the tonal template of mandarin discourse , by judging from the emotional color and colloquial style of every word in the input discourse and using a kind of phraseological attribute grammar and the relevant combinational arithmetic 摘要本文根據(jù)輸入的漢語語篇中各個(gè)語詞的感情色彩屬性和語體色彩屬性,通過一種語詞屬性文法及其合一運(yùn)算,來得到整個(gè)語篇的調(diào)模。